﻿namespace SZJT.Framework.Adapter
{
    public class CertEntity
    {
        public string FindValue { get; set; }
        private string _fingType;
        public string FindType
        {
            get { return string.IsNullOrEmpty(_fingType) ? "X509Certificate2" : _fingType; }
            set { _fingType = value; }
        }

        private string _storeLocation;
        public string StoreLocation
        {
            get { return string.IsNullOrEmpty(_storeLocation)?"LocalMachine":_storeLocation; }
            set { _storeLocation = value; }
        }

        private string _storeName;
        public string StoreName
        {
            get { return string.IsNullOrEmpty(_storeName) ? "My" : _storeName; }
            set { _storeName = value; }
        }
    }
}
